package com.xuecheng.content.services.service;

import com.xuecheng.content.model.dto.CourseCategoryTreeDto;
import com.xuecheng.content.model.po.CourseCategory;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 课程分类 服务类
 * </p>
 *
 * @author itcast
 * @since 2022-10-08
 */
public interface CourseCategoryService extends IService<CourseCategory> {

    /**
     * 使用递归查询分类
     * @param id
     * @return
     */
    public List<CourseCategoryTreeDto> selectTreeNodes(String id);

}
